package study.javaee.practice.property;

import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties("email")
public class EmailProperty {
    String sender;
    String password;
    String emailHost;
    String from;
}
